
package com.yitongmao.common;

/**
 * 类说明： 服务器URL常量
 *
 * @author Liucd
 * @version 1.0
 * @date Oct 8, 2010 1:55:50 AM
 */
public class UrlConstants {

    //草稿稿件稿件ID
    public final static int PUBLISH_MYARTICAL_LOCAL_FILEID = 12345;

    //我的稿件
    public final static int PUBLISH_MYARTICAL_COLUMN_ID = 101010;

    //发布状态
    public final static String PUBLISH_STATUS_NO_PUBLISHED = "0";//0:未发布
    public final static String PUBLISH_STATUS_PUBLISHED = "1";//1:发布
    public final static String PUBLISH_STATUS_PUBLISHED_TO_TIME = "2";//2:定时发布
    public final static String PUBLISH_STATUS_DRAFT = "101010";//101010保存到本地草稿

    //服务端文章发布状态
    public final static String PUBLISH_SERVER_STATUS_NO_PUBLISHED = "0";//0:未发布
    public final static String PUBLISH_SERVER_STATUS_PUBLISHED = "1";//1:已发布
    public final static String PUBLISH_SERVER_STATUS_ALL_PUBLISHED = "-1";//-1:所有

    public final static String PUBLISH_OPERATION_UPLOAD = "上传";
    public final static String PUBLISH_OPERATION_PUBLISH = "发布";
    public final static String PUBLISH_OPERATION_CANCEL = "撤稿";
    public final static String PUBLISH_OPERATION_MODIFY = "修改";
    public final static String PUBLISH_OPERATION_PUSH = "推送";
    public final static String PUBLISH_OPERATION_DELETE = "删除";

    //文章类型tag，artical
    public final static String ARTICAL_TYPE_CONTENT = "0";//图文
    public final static String ARTICAL_TYPE_IMAGES = "1";//组图
    public final static String ARTICAL_TYPE_VIDEO = "2";//视频
    public final static String ARTICAL_TYPE_SPECIAL = "3";//专题
    public final static String ARTICAL_TYPE_LINK = "4";//链接
    public final static String ARTICAL_TYPE_LIVING = "6";//直播

    //［0:未创建；1:等待添加直播源；5测试中；2:直播中；4暂停中，等待添加直播源；3:直播结束］
    public final static String LIVING_STATUS_STREAM_NO = "未创建";
    public final static String LIVING_STATUS_STREAM_ADD_STREAM = "等待添加直播源";
    public final static String LIVING_STATUS_STREAM_TEST = "测试中";
    public final static String LIVING_STATUS_STREAM_STREAMING = "直播中";
    public final static String LIVING_STATUS_STREAM_PAUSE_STREAMING = "暂停中，等待添加直播源";
    public final static String LIVING_STATUS_STREAM_STOP = "直播结束";

    /**
     * 操作类型:
     * New:新建并保存；//相当于上传
     * NewPublish:新建并发布;//相当于发布
     * Modify:修改；//相当于修改上传
     * ModifyPublish：修改并发布；//相当于修改发布
     * Publish:发布；//相当于列表发布
     * Returnback: 撤稿；//相当于列表撤稿
     * Push:推送//相当于列表推送
     */
    public final static String ARTICAL_OPERATION_TYPE_NEW = "New";//新建并保存,相当于新建上传（新建未发布）
    public final static String ARTICAL_OPERATION_TYPE_NEW_PUBLISH = "NewPublish";//新建并发布,相当于发布
    public final static String ARTICAL_OPERATION_TYPE_MODIFY = "Modify";//修改,相当于修改上传(修改未发布)
    public final static String ARTICAL_OPERATION_TYPE_MODIFY_PUBLISH = "ModifyPublish";//修改并发布,相当于修改发布
    public final static String ARTICAL_OPERATION_TYPE_PUBLISH = "Publish";//发布,相当于列表发布
    public final static String ARTICAL_OPERATION_TYPE_RETURNBACK = "Returnback";//撤稿,相当于列表撤稿
    public final static String ARTICAL_OPERATION_TYPE_PUSH = "Push";//相当于列表推送

    public final static String INTENT_KEY = "note_id";
    public final static String INTENT_NOTE = "note";

    public final static String imgratio31 = "31";
    public final static String imgratio43 = "43";
    public final static String imgratio169 = "169";

    public final static String URL_IMGE_TYPE_SMALL = "@!sm";
    public final static String URL_IMGE_TYPE_SMALL43 = "@!sm43";
    public final static String URL_IMGE_TYPE_SMALL41 = "@!sm41";
    public final static String URL_IMGE_TYPE_SMALL169 = "@!sm169";
    public final static String URL_IMGE_TYPE_SMALL11 = "@!sm11";
    public final static String URL_IMGE_TYPE_MIDDLE = "@!md";
    public final static String URL_IMGE_TYPE_MIDDLE11 = "@!md11";
    public final static String URL_IMGE_TYPE_MIDDLE32 = "@!md32";
    public final static String URL_IMGE_TYPE_MIDDLE52 = "@!md52";
    public final static String URL_IMGE_TYPE_MIDDLE31 = "@!md31";
    public final static String URL_IMGE_TYPE_MIDDLE43 = "@!md43";
    public final static String URL_IMGE_TYPE_MIDDLE169 = "@!md169";
    public final static String URL_IMGE_TYPE_BIG = "@!lg";
    public final static String URL_IMGE_TYPE_BIG43 = "@!lg43";
    public final static String URL_IMGE_TYPE_HIGHG_BIG = "@!hg";
    public final static String URL_IMGE_TYPE_BIG31 = "@!lg31";
    public final static String URL_IMGE_TYPE_BIG169 = "@!lg169";

    //用户操作权限 参数
    //myaudit：审核稿件；capp：发布库；resp：图片库；resv：视频库；crevoke：已发布稿件；cg：回收站；nisvote：投票；
    // nisdis：评论审核；nislive：直播；nistip：报料；nisfeed：意见反馈；eplayout：报纸版面；eparticle：版面稿件；
    // wxgroup：微信图文；wxarticle：微信菜单稿件；wxaccount：微信账号；wbarticle：微博稿件；wbcount：微博账号；
    // scol：栏目；sext：稿件扩展字段；sorg：部门角色；suser：用户管理；mon1：稿件统计；mon2：工作量统计；mon0：稿件列表导出；scustuser：会员管理
    public final static String URL_APP_CAPP = "capp";//发布库
    public final static String URL_APP_RESP = "resp";//图片库
    public final static String URL_APP_RESV = "resv";//视频库
    public final static String URL_APP_RESAD = "resad";//广告
    public final static String URL_APP_CREVOKE = "crevoke";//已发布稿件
    public final static String URL_APP_CG = "cg";//回收站
    public final static String URL_APP_NISVOTE = "nisvote";//投票
    public final static String URL_APP_NISDIS = "nisdis";//评论审核
    public final static String URL_APP_NISLIVE = "nislive";//直播
    public final static String URL_APP_NISTIP = "nistip";//报料
    public final static String URL_APP_NISFEED = "nisfeed";//意见反馈
    public final static String URL_APP_SCOL = "scol";//栏目
    public final static String URL_APP_SEXT = "sext";//稿件扩展字段
    public final static String URL_APP_SORG = "sorg";//部门角色
    public final static String URL_APP_SUSER = "suser";//用户管理
    public final static String URL_APP_SCUSTUSER = "scustuser";//会员管理
    public final static String URL_APP_MY_AUDIT = "myaudit";//审核稿件
    public final static String URL_APP_MON1 = "mon1";//稿件统计
    public final static String URL_APP_MON2 = "mon2";//工作量统计
    public final static String URL_APP_MON0 = "mon0";//稿件列表导出

    //ACache缓存key值
    //是否显示手势轨迹
    public final static String URL_APP_SHOW_LOCK_PATH = "app_show_lock_path";
    //缓存栏目key
    public final static String URL_APP_COLUMN_ID = "app_column_id";

    public final static String URL_APP_LOCK_PWD = "app_lock_pwd?";
    public final static String URL_APP_REMEMBER_LOGIN_USER_NAME = "app_remember_login_user_name?";
    public final static String URL_APP_LOGIN_USER_NAME = "app_login_user_name?";
    public final static String URL_APP_LOGIN_USER_PWD = "app_login_user_pwd?";
    //保存直播员姓名
    public final static String URL_APP_LIVING_USER_NAME = "app_living_user_name";
    //保存直播员类型
    public final static String URL_APP_LIVING_USER_NAME_TYPE = "app_living_user_name_type";

    public final static String URL_APP_LIING_COLUMNS = "app_living_columns";
    public final static String URL_APP_CMS_LIING_COLUMNS = "app_cms_living_columns";

    public final static String[] RESOLUTION_NAMES = new String[]{"720p", "480p"};
    public final static String[] DURATION_NAMES = new String[]{"5m", "4m", "3m", "2m", "1m"};
    public final static String[] FILE_SIZE_NAMES = new String[]{"50MB", "40MB", "30MB", "20MB", "10MB", "5MB"};
    public final static String[] QUALITY_NAMES = new String[]{
            " 高 ",
//            " 中 ",
            " 低 "};

    public final static String[] TITLE_IMAGES_NAMES = new String[]{
            "标准图文",
            "大图发布",
            "三张标题图"};


    //视频录制保存参数
    public final static String URL_APP_LIING_VIDEO_RESOLUTION = "app_living_video_resolutio";
    public final static String URL_APP_LIING_VIDEO_MAX_DURATION = "app_living_video_max_duration";
    public final static String URL_APP_LIING_VIDEO_MAX_FILE_SIZE = "app_living_video_max_file_size";
    public final static String URL_APP_LIING_VIDEO_HQ = "app_living_video_hq";

    /*
    * 接口
    * */
    //登录接口
    public final static String URL_APP_LOGIN = "cmsLogin?";
    //获取直播评论接口
    //cmsComments
    public final static String URL_APP_LIVING_COMMENT = "cmsComments?";
    //直播评论审核接口
    //cmsComments
    public final static String URL_APP_LIVING_AUDIT_COMMENT = "cmsAuditComment?";

    // 获取栏目
    public final static String URL_GET_COLUMNS = "getColumns?";

    //发布直播接口
    public final static String URL_APP_LIVING_PUBLISH = "newLiveArticle?";

    //继续报道直播接口
    public final static String URL_APP_LIVING_APPENDLIVI = "newLiveDetail?";

    //获取直播列表接口
    public final static String URL_APP_GET_LIVING_LIST = "getLiveTopics?";

    //获取直播详情页
    public final static String URL_APP_GET_LIVING_DETAIL = "getLiveDetail?";

    //获取直播状态
    public final static String URL_APP_GET_LIVING_STATUS = "getLiveStatus?";

    //updateLiveStatus
    //更新直播状态
    public final static String URL_APP_UPDATE_LIVING_STATUS = "updateLiveStatus?";

    //删除直播稿件接口
    public final static String URL_APP_DELETE_LIVING = "deleteLiveArticle?";

    //修改直播稿件接口
    public final static String URL_APP_MODIFY_LIVING = "updateLiveArticle?";

    //修改直播详情item
    public final static String URL_APP_MODIFY_LIVING_ITEM = "updateLiveDetail?";

    //修改直播详情item
    public final static String URL_APP_DELETE_LIVING_ITEM = "deleteLiveDetail?";

    /*
    * 缓存key
    * */
    //缓存登录账户信息
//    public final static String URL_APP_LOGININFO = "login_info?";

    //栏目类型/样式
    //    columnStyle
    public final static String COLUMN_STYLE_NEWS = "新闻";
    public final static String COLUMN_STYLE_NEWSPAGER = "读报";
    public final static String COLUMN_STYLE_SERVICE = "服务";
    public final static String COLUMN_STYLE_LINK = "外链";
    public final static String COLUMN_STYLE_BAOLIAO = "报料";
    public final static String COLUMN_STYLE_LIVING = "直播";
    //配置文件接口
    public final static String URL_APPCONFIG = "getConfig?";
    //我的评论接口
    public final static String URL_MYCOMMENT = "getMyComment?";
    //意见反馈
    public final static String URL_POST_FEEDBACK = "feedBack?";

    // 获取一般稿件详情页
    public final static String URL_GET_NEWS_DETAIL = "news_detail?";
    //数字报稿件详情页
    public final static String URL_GET_NEWS_EPAPER_DETAIL = "epaper_detail?";
    // 获取链接稿件详情页
    public final static String URL_GET_LINK_DETAIL = "link_detail?";
    // 获取链接稿件详情页
    public final static String URL_GET_ADV_DETAIL = "adv_detail?";
    // 获取一般稿件详情页
    public final static String URL_POST_SUBMMIT_COMMENT = "submitComment?";
    // 获取热门评论
    public final static String URL_GET_HOT_COMMENTS = "getHotComments?";
    // 获取最新评论
    public final static String URL_GET_NEW_COMMENTS = "getComments?";
    // 点赞接口
    public final static String URL_POST_COMMITCOUNT = "event";

    //获取图集
    public final static String URL_GET_ARTICLES = "getArticle?";
    //获取专题子栏目稿件
    public final static String URL_GET_SPECIAL = "getSubColumns?";

    //搜索接口
    public final static String URL_GET_SEARCHALL = "searchAll?";

    //注册接口
    public final static String URL_MEMBER_CENTER_REGISTER = "register?";

    //登录接口
    public final static String URL_MEMBER_CENTER_LOGIN = "login?";

    //修改资料你
    public final static String URL_MEMBER_CENTER_MODIFYUSERINFO = "modifyUserInfo?";

    //忘记密码
    public final static String URL_MEMBER_CENTER_FORGETPASSWORD = "forgetPassword?";

    //第三方登录
    public final static String URL_MEMBER_CENTER_LOGINOTHER = "loginByOther?";

    //获取会员基本信息
    public final static String URL_MEMBER_CENTER_GETUSERBASEINFO = "getUserBaseInfo?";

    //积分行为
    public final static String URL_MEMBER_CENTER_SCOREEVENT = "scoreEvent?";

    //获取积分商城首页地址
    public final static String URL_MEMBER_CENTER_GETJIFENMALLURL = "getMall?";

    //会员接口
    public final static String URL_MEMBER_CENTER = "/api/member/";
    //获取头像
    public final static String URL_MEMBER_CENTER_GET_PORTRAIT = "getPortrait?";

    //积分用户行为
    public final static String URL_MEMBER_CENTER_JIFEN_SCORE = "/api/member/score?";
    public final static String URL_MEMBER_CENTER_JIFEN = "/api/event/event/";
    public final static String URL_MEMBER_CENTER_SOURCE = "新空云APP";

    public final static String MEMBER_CENTER_JIFEN_BEHAVIOR_INSTALL_REGIST = "1";//注册
    public final static String MEMBER_CENTER_JIFEN_BEHAVIOR_START = "2";//登录
    public final static String MEMBER_CENTER_JIFEN_BEHAVIOR_READ = "5";//浏览 阅读
    public final static String MEMBER_CENTER_JIFEN_BEHAVIOR_COMMENT = "3";//评论
    public final static String MEMBER_CENTER_JIFEN_BEHAVIOR_SHARE = "4";//分享


    // 稿件类型0：文字 1：图片 2:视频
    public final static int DOC_TYLE_TEXT = 0;

    public final static int DOC_TYLE_IMAGE = 1;

    public final static int DOC_TYLE_VIDEO = 2;

    // 缓存文件夹
    public final static String CACHE_FOLDER = "FounderReader";

    // 系统接口服务的文件名
    public final static String URL_APP_INTERFACESERVER = "produceInterfaceServer.cfg";

    // 本地系统接口服务文件名
    public final static String LOCAL_APP_INTERFACESERVER = "localInterfaceServer.cfg";

    // 本地存储的广告信息的文件名AdvertConfig localAdvertConfig.plist
    public final static String LOCAL_APP_ADVERTCONFIG = "ycwbAd.plist";

    // 本地存储新闻模板文件的名字
    public final static String LOCAL_CONTENTTEMPLATE_NAME = "localContentTemplate.zip";

    // 本地存储天气模板文件的名字
    public final static String LOCAL_WEATHERTAMPLATE_NAME = "localWeatherTemplate.zip";

    // 本地存储新闻模板的文件夹
    public final static String LOCAL_CONTENTTEMPLATE_DIR = "localClientTemplate";

    // 本地存储新闻模板的文件夹
    public final static String LOCAL_CLIENTTEMPLATE_DIR = "localClientTemplate";

    // 本地存储推送的文件夹
    public final static String LOCAL_GETUI_DIR = "localGetuiContent";

    // 本地存储天气模板的文件夹
    public final static String LOCAL_WEATHERTAMPLATE_DIR = "localWeatherTemplate";

    // 程序配置信息地址
    public final static String URL_APP_CONFIG = "getConfig";


    // 根据栏目id获取该栏目
    public final static String URL_GET_CURRENT_COLUMN = "getColumn";

    // 获取原版式栏目
    public final static String URL_GET_PDF_COLUMNS = "getAllJournal";

    // 每次读取文字新闻数量
    public final static int TEXT_NEWS_PER = 20;

    // 每次读取记者新闻数量
    public final static int TEXT_AUTHOR_NEWS_PER = 10;

    // 获取栏目稿件
    public final static String URL_GET_COLUMN_ARTICLES = "getArticles";

    //获取热门栏目稿件
    public final static String URL_GET_HOTCOLUMN_ARTICLES = "articleHot";

    // 获取领导人稿件列表
    public final static String URL_GET_HEADER_ARTICLES = "leaderView";

    // 获取推荐稿件
    public final static String URL_GET_COLUMN_RECOMMEND = "searchArticlesByRec";

    // 获取头条稿件
    public final static String URL_GET_COLUMN_TOPARTICLES = "getTopArticles";

    // 获取单条稿件
    public final static String URL_GET_ARTICLE = "getArticleContent";

    // 获取单条稿件,
    public final static String URL_GET_ARTICLE_SIMPLE = "getArticle?";

    // 获取栏目稿件附件
    public final static String URL_GET_COLUMN_ATTACHMENTS = "getAttachment";

    // 写作接口
    public final static String URL_POST_COMMITWRITING = "commitWriting";

    // 获取新闻评论 wzf add
    public final static String URL_GET_COMMENT_MSG = "discussView";
    public final static String URL_GET_HOTCOMMENT_MSG = "discussHot";
    public final static String URL_GET_DIANZAN = "great";
    public final static String URL_COMMINT_COMMENT = "discuss";

    // 报料信息提价接口
    public final static String URL_POST_DISCLOSURE = "tipOff";

    // 修改用户资料接口
    public final static String URL_POST_MODITY = "modify";

    // 上传信息
    public final static String URL_UPLOAD = "upload";

    // 获取投票信息
    public final static String URL_GET_VOTES = "getVotes";

    // 投票接口
    public final static String URL_SUB_VOTEITEM = "voteItem";

    // 获取投票问题选项
    public final static String URL_GET_VOTES_OPTIONS = "getVoteOption";

    // 投票每次获取的条数
    public final static int VOTES_COUNT = 5;

    // 每次读取的图片数量
    public final static int IMAGE_NEWS_PER = 20;

    // 每次读取的评论数量
    public final static int COMMENT_PER_COUNT = 20;

    // 每次读取广告的数量
    public final static int AD_INFO_PER = 5;

    public final static String LOCAL_CUSTOMCOLUMN_CONFIG = "webColumn.plist";

    // 任务提交接口方法名
    public final static String URL_TASK_SUBMIT = "event";
    public final static String URL_TASK_GETSCORE = "getScore";


    // 点赞数统计接口
    public final static String URL_POST_GETGREATCOUNT = "discussCount";
    // 获取个人积分
    public final static String URL_GET_SCORE = "score";
    // 积分接口source
    public final static String SCORE_SOURCE = "交汇点APP";
    // 获取快点
    public final static String URL_GET_TOPICS = "topic";

    public static final String TOPICSUB = "topicSub";

    // nf报料提交接口
    public final static String URL_POST_TIPOFF = "tipoff";
    // nf意见反馈接口
    public final static String URL_POST_FEED = "feed";

    // nf论坛发帖接口
    public final static String URL_POST_FORUM = "forum";
    // nf我的论坛接口
    public final static String URL_POST_MYFORUM = "myForum";
    // nf论坛浏览稿件列表接口
    public final static String URL_GET_FORUM = "forumView";
    public final static String URL_GET_FORUM_GOOD = "forumGood";
    // nf论坛话题分类接口
    public final static String URL_GET_CATS = "getCats";
    // nf获得栏目信息
    public final static String URL_GET_COL_INFO = "getColumn";
    // nf获得评论的回复
    public final static String URL_GET_COMMENT_REPLY = "discussReply";
    // nf用户事件接口
    public final static String URL_POST_EVENT = "event";
    // nf获取评论数接口
    public final static String URL_GET_COMMENT_COUNT = "discussCount";
    // 我的快点
    public final static String URL_GET_MYTOPICS = "myTopic";
    // 上传user device id
    public final static String URL_LOGINFO = "loginfo"; // loginfo or
    // loginfo?data=

    public final static String URL_TOPICSUBVIEW = "topicSubView";

    // 获取本地城市天气的接口
    public final static String URL_GET_WEATHER = "getWeatherByAreaID";

    // 关注myAuthor
    public final static String URL_POST_AUTHOR = "myAuthor";
    // 我的关注
    // 获取我的关注列表
    public final static String URL_GET_MYFOCUS = "myAuthorView";
    // 获取记者的文章数/粉丝数 authorCount
    public final static String URL_GET_AUTHORCOUNT = "authorCount";
    public final static String URL_GET_AUTHORARTICLES = "authorArticles";
    // 关注取消
    public final static String URL_POST_MYAUTHORCANCEL = "myAuthorCancel";

    public final static String URL_POST_ISSUBAUTHOR = "isAttention";

    public final static String URL_GET_PS_COLUMN = "getCats";
    public final static String URL_GET_PS_LEADER_COLUMN = "regionleaderView";

    //文章发布
    public final static String CMS_NEW_ARTICAL = "cmsNewArticle";//文章发布
    //我的稿件
    public final static String CMS_MY_ARTICLES = "cmsMyArticles";
    //我的稿件下栏目接口
    public final static String CMS_MY_COLUMN_ARTICLES = "cmsColumnArticle";
    //文章修改接口
    public final static String CMS_UPDATE_ARTICAL = "cmsUpdateArticle";
    //文章推送接口
    public final static String CMS_PUSH_ARTICAL = "cmsPushArticle";
    //稿件详情接口
    public final static String CMS_DETAIL_ARTICAL = "cmsArticle";
    // 获取发布库栏目
    public final static String CMS_GET_COLUMNS = "cmsColumns?";
}
